<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core" 
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" 
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk">

<f:view>
<f:loadBundle var="text" basename="#{basePage.bundleName}"/>
<title>#{text['user.passwordHint']}</title>

<p>Looking up password hint for ${param.username}...</p>

<h:form id="passwordForm">
    <h:inputHidden id="username" value="#{passwordHint.username}"/>

    <h:commandLink action="#{passwordHint.execute}" id="execute">
        <f:param name="username" value="#{passwordHint.username}"/>
    </h:commandLink>
</h:form>

<script type="text/javascript">
    // Might be able to remove proprietary call if I can get @PostConstruct to work
    oamSubmitForm('passwordForm','passwordForm:execute',null,[['username','${param.username}']])
</script>

</f:view>
</html>